package com.qf.mxapp.service.Impl;

import com.qf.mxapp.mapper.ImgMapper;
import com.qf.mxapp.pojo.Img;
import com.qf.mxapp.service.ImgService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;


import java.util.List;

@Service
public class ImgServiceImpl implements ImgService {
    @Resource
    private ImgMapper imgMapper;

   @Override
    public List<Img> getImgListByType(Integer type){
        return imgMapper.queryImgByType(type);
    }
}
